package com.xjzd.std.inheritance;

public class Main {
    public static void main(String[] args) {
        SubOuter subOuter = new SubOuter();
        SubOuter.SubInner subInner = subOuter.new SubInner();
        subInner.print();

        B b = new B();
        b.a = 10;

        var a = "\uD840\uDC00";
        StringBuilder sb = new StringBuilder();
        sb.append('\uD840');
        sb.append('\uDC00');
        System.out.println(sb.length());
        System.out.println(sb.codePointCount(0, sb.length()));
        System.out.println(sb);

        // Class本身的Class类对象
        System.out.println(Class.class.getName());
    }
}

class A {
    public int a;
}

class B extends A {
    public int a;
}
